<template>
  <aside class="header">
    <div class="headerbox"><div class="Hbox">猫眼电影</div></div>
    <div class="findCinemaBox">
      <input type="text" placeholder="搜影院" class="findCinema" />
    </div>
    <movieTypeComp></movieTypeComp>
    <!-- <backHomeComp></backHomeComp> -->
  </aside>
  <movieListComp class="movieListComp"></movieListComp>
</template>

<script>
import { defineComponent } from 'vue'

import movieListComp from '@/components/movieContent/movieListComp.vue'
import movieTypeComp from '@/components/movieContent/movieTypeComp.vue'
// import backHomeComp from '@/components/movieContent/backHomeContent/backHomeComp.vue'

export default defineComponent({
  components: {
    movieListComp,
    movieTypeComp
    // backHomeComp
  },
  methods: {}
})
</script>

<style lang="scss" scoped>
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}
.Hbox {
  width: 100%;
  background: rgb(214, 67, 67);
  color: #fff;
  font-size: 0.2rem;
  text-align: center !important;
  line-height: 0.6rem;
  height: 0.6rem;
}
.findCinemaBox {
  background: rgb(245, 245, 245);
  height: 0.5rem;
  text-align: center;
  .findCinema {
    font-size: 0.1rem;
    height: 0.3rem;
    width: 3.8rem;
    color: #ccc;
    text-align: center;
    line-height: 0.3rem;
    border: none;
    margin-top: 0.1rem;
  }
}
.movieListComp {
  margin-top: 1.6rem;
}
</style>
